package com.zxmc.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    // 用户名
    private String username;

    // 密码
    private String password;

    // 创建时间
    private LocalDateTime createdAt;

    //头像
    private String avatar;

}
